﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace HynuIOTA.Web.Models
{
    public class PutNewsViewModel
    {
        [Required]
        public int Id { get; set; }
        public string Title { get; set; }
        [AllowHtml]
        public string Content { get; set; }
        public string Keyword { get; set; }
        public string Img { get; set; }
        public bool IsTop { get; set; }
        public bool IsMoveImg { get; set; }
        public int?[] Channels { get; set; }
    }
}